package com.mongo.data.service;

import com.mongo.data.entity.MissionStatus;
import com.mongo.data.entity.NodeInfo;
import com.mongo.data.entity.UploadNode;
import com.mongo.data.vo.*;

import java.util.List;

public interface MissionStatusService {

    List<MissionStatus> selectAll();

    MissionStatus create(MissionStatus missionStatus);

    void initNodes(MissionStatus status);

    PageResult<MissionStatusRespVO> getStatusVOPage(MissionStatusQueryVO queryVO);

    UploadNode selectUploadNode(Long id);

    List<NodeInfo> listNodeInfo(StatusQueryVO statusQueryVO);

    PageResult<NodeInfo> pageNodeInfo(StatusQueryVO statusQueryVO);

    NodeInfo selectNodeInfo(Long id, String name);

    void updateNodeByType(MissionStatusResult result);

    void initSingleBusinessWorkflow(String templateName, Long id, NodeInfo nodeInfo);

    void initSingleMFPWorkflow(String rawName, Long id, NodeInfo nodeInfo);

    void updateBigBagEndTime(Long id, Long endTime);

    void insertUploadTime(Long id);

    void removeById(Long id);

    void updateDataNodeById(Long id);


}
